Nevron Open Vision Documentation
Nevron.Nov.UI Namespace / NDocumentView<TDoc,TDocContent,TDocFormat,TDocFormatRegistry,TDocLoadSettings,TDocSaveSettings> Class / LoadFromLocalFile Method


In This Topic
    LoadFromLocalFile Method (NDocumentView<TDoc,TDocContent,TDocFormat,TDocFormatRegistry,TDocLoadSettings,TDocSaveSettings>)
    In This Topic
    Loads a document from the specified file.
    Syntax
    'Declaration
     
    
    Public Sub LoadFromLocalFile( _
       ByVal fileName As System.String, _
       Optional ByVal documentFormat As TDocFormat, _
       Optional ByVal loadSettings As TDocLoadSettings, _
       Optional ByVal progress As NProgress _
    ) 
    'Usage
     
    
    Dim instance As NDocumentView(Of TDoc,TDocContent,TDocFormat,TDocFormatRegistry,TDocLoadSettings,TDocSaveSettings)
    Dim fileName As System.String
    Dim documentFormat As TDocFormat
    Dim loadSettings As TDocLoadSettings
    Dim progress As NProgress
     
    instance.LoadFromLocalFile(fileName, documentFormat, loadSettings, progress)
    public void LoadFromLocalFile( 
       System.string fileName,
       TDocFormat documentFormat,
       TDocLoadSettings loadSettings,
       NProgress progress
    )

    Parameters

    fileName
    documentFormat
    loadSettings
    progress
    Remarks
    The fileName must be a properly formatted path string, for the current OS.
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 7, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later)

    See Also